package Command;

import Server.Command;
import Server.cmdArguments;

public abstract class CommandDecorator implements Command {
	protected final Command cmd;
	
	public CommandDecorator(Command cmd) {
		this.cmd = cmd;
	}
	
	public String execute() {
		return cmd.execute();
		
	}
	
	public String undo() {
		return cmd.undo();		
	}
	
	public void setArgs(cmdArguments args) {
		this.cmd.setArgs(args);
	}

}
